package com.ruoyi.movie.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 影视评分对象 movie_rate
 *
 * @author ruoyi
 * @date 2025-10-27
 */
public class MovieRate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 评分ID */
    private Integer movieRateId;

    /** 影视基础ID */
    @Excel(name = "影视基础ID")
    private Integer movieBasicsId;

    /** 评分 */
    @Excel(name = "评分")
    private Float rate;

    /** 评分人数 */
    @Excel(name = "评分人数")
    private Integer rateUserCount;

    public Integer getMovieRateId() {
        return movieRateId;
    }

    public void setMovieRateId(Integer movieRateId) {
        this.movieRateId = movieRateId;
    }

    public Integer getMovieBasicsId() {
        return movieBasicsId;
    }

    public void setMovieBasicsId(Integer movieBasicsId) {
        this.movieBasicsId = movieBasicsId;
    }

    public Float getRate() {
        return rate;
    }

    public void setRate(Float rate) {
        this.rate = rate;
    }

    public Integer getRateUserCount() {
        return rateUserCount;
    }

    public void setRateUserCount(Integer rateUserCount) {
        this.rateUserCount = rateUserCount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("movieRateId", getMovieRateId())
            .append("movieBasicsId", getMovieBasicsId())
            .append("rate", getRate())
            .append("rateUserCount", getRateUserCount())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
